package event
{
	import flash.events.Event;
	import flash.events.IEventDispatcher;
	
	/* Custome Event class */
	public class LoginEvent extends Event 
	{
		public static const LOGIN:String = "login";
		
		public var username:String;
		public var password:String;
		private var _eventDispacher:IEventDispatcher;
		
		public function LoginEvent(type:String, username:String, password:String, bubbles:Boolean=true, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			
			this.username = username;
			this.password = password;
		}
		public function addListener(event:Event):void
		{
			//_eventDispacher.addEventListener();
		}
		
	}
}